package bl.service;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import data.entity.JournalEntity;

public interface JournalService extends Remote {

	public ArrayList<JournalEntity> getAll() throws RemoteException;
	public ArrayList<JournalEntity> get(int id)throws RemoteException;
	public  ArrayList<JournalEntity>getByUser(int userId)throws RemoteException;
	public void   updateJournal(JournalEntity je)throws RemoteException;
	public void  addJournal(JournalEntity je)throws RemoteException;
	public void  deleteJournal(int id )throws RemoteException;
}  
